package com.example.mapper;

import com.example.entity.Nurse;
import com.example.entity.Params;
import com.example.entity.Type;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NurseMapper {
    List<Nurse> findBySearch(@Param("params") Params params);

    int deleteById(Integer id);

    int add(Nurse nurse);

    int update(Nurse nurse);

    Nurse selectById(Integer id);
}
